<div class="panel panel-default  m-n">
    <div class="panel-heading font-bold">添加问题类型</div>
    <div class="panel-body">
        <form name="questionTypeAddForm" role="form" class="ng-pristine ng-valid">
            <div class="m-b-xs">
                <label>类型名称</label>
                <input type="text" class="form-control" ng-model="questionType.name" placeholder="输入类型名称" required>
            </div>
            <div class="text-right">
                <button class="btn btn-sm btn-info" ng-click="add()" ng-disabled="questionTypeAddForm.$invalid&&!AllowToDelete">保存</button>
                <div class="btn btn-sm btn-default" ng-click="cancel()">取消</div>
            </div>
        </form>
    </div>
</div>